#include "stack.h"

int main(int argc, char *argv[])
{
    stack *S;
    int len = 5;
    stack_create(&S, len);

    stack_push(S, 100);
    stack_push(S, 200);
    stack_push(S, 300);

    printf("pop: %d\n", stack_pop(S));
    printf("pop: %d\n", stack_pop(S));
    printf("pop: %d\n", stack_pop(S));


    return 0;
}
